package com.lvtulife.common.web.util.search;

import java.io.Serializable;

/**
 * 定义排序字段
 */
public class Order implements Serializable{
    private String paramName; // 参数名称
    private boolean isAsc = true;// 默认正序

    public Order(String paramName, boolean isAsc) {
        this.paramName = paramName;
        this.isAsc = isAsc;
    }

    public Order(String paramName) {
        this.paramName = paramName;
    }


    public String getParamName() {
        return paramName;
    }

    public boolean isAsc() {
        return isAsc;
    }

}
